const KEY="rentDays";

export function setRentDays(rentDays) {
    removeSpeci();
    sessionStorage.setItem(KEY,JSON.stringify(rentDays));
}

export function getRentDays() {
    var jsonString = sessionStorage.getItem(KEY);
    jsonString = jsonString || '[]';
    return JSON.parse(jsonString);
}

export function removeRentDays() {
    sessionStorage.removeItem(KEY);
}

